#include "TonePlayerPrivate.h"
#include "TonePlayer.h"
#include <QDebug>


// ---------------------------------------------------------
// TonePlayer::TonePlayer()
// Constructor
// ---------------------------------------------------------
//
TonePlayer::TonePlayer(QObject *parent)
 : QObject(parent)
{
    qDebug()<<"TonePlayer create";
#ifdef Q_OS_SYMBIAN
    d_ptr = CTonePlayerPrivate::NewL(this);
#endif

}

// ---------------------------------------------------------
// TonePlayer::~TonePlayer()
// Destructor
// ---------------------------------------------------------
//
TonePlayer::~TonePlayer()
{
    delete d_ptr;
}

void TonePlayer::play()
{
    qDebug()<<"TonePlayer play";
    d_ptr->Play();
}

void TonePlayer::stop()
{
    d_ptr->Stop();
}
